package com.heima.proxy;

import com.heima.real.SuperStar;
import com.heima.service.Sing;

//代理对象
public class ProxyStar implements Sing {

    SuperStar superStar;

    @Override
    public void sing() {
        System.out.println("表演绝活！");
        superStar.sing();
        System.out.println("完活给钱！");
    }
}
